Secret

data class Secret(val value: String)

Represents a secret value used for authentication.

Throws

if the value is blank.

Constructors

Link copied to clipboard
constructor(value: String)

Creates a Secret with the specified value.

Properties

Link copied to clipboard

The secret value. Must not be blank.

Functions

Link copied to clipboard
open override fun toString(): String

Returns the string representation of the secret value.